package com.xj.edu.hotel.service;

import com.xj.edu.hotel.domain.Room;

import java.util.List;

public interface RoomService {

    /**
     * 通过hotelId查找房间
     */
    Room findRoomByHotelIdAndRoomId(String hotelId,Integer roomId);
    int updateRoomStatus(Room room);

//    void findRoomByRoomId(String roomId);
    Room findRoomByRoomId(String id);
    int updateRoomPic(Room room);
    List<Room> searchRoom(String hotelId);
    Room findRoomByid(String roomId);

    List<Room> roomView(String hotelName);

    List<Room> hotelComment(String hotelId);

    int updateRoomCount(Room room);
}
